nodally_averaged_stress Function

public function nodally_averaged_stress(elements, nodes, displacement) result(rst)

Computes nodal stress results by averaging the stress contributions from each element incident upon a node.

Arguments

Type IntentOptional Attributes Name
class(element), intent(in) :: elements(:)

The finite elements in the model.

class(node), intent(in) :: nodes(:)

The global node list defining the displacement-vector ordering.

real(kind=real64), intent(in), dimension(:) :: displacement

The global displacement vector.

Return Value real(kind=real64), allocatable, dimension(:,:)

The stress results. Each column corresponds to a node in NODES, and each row corresponds to one stress component.


Contents